<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/12/26
  Time: 10:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>左边菜单</title>
  <%--  <style>
        a{
            /*文本修饰*/
            text-decoration:none ;
            font-size: 20px;
            color: deepskyblue;
        }
        li{
            list-style-type:none ;
        }
    </style>--%>
    <%--导入boostrap的css/jquery的js/boostrap的js--%>
    <link href="${pageContext.request.contextPath}/css/bootstrap.min.css" rel="stylesheet" />
    <%--导入jquery的js--%>
    <script src="${pageContext.request.contextPath}/js/jquery-3.4.1.min.js"></script>
    <%--导入boostrap的js文件--%>
    <script src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>

</head>
<body>
<div class="btn-group">
    <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        用户管理 <span class="caret"></span>
    </button>
    <ul class="dropdown-menu">
        <li><a href="#">添加用户</a></li>
        <%--<li><a href="${pageContext.request.contextPath}/adminFinlAllUser" target="middle">查询所有用户</a></li>--%>
        <li><a href="${pageContext.request.contextPath}/admin?methodName=adminFindUserPage" target="middle">查询用户</a></li>

    </ul>
</div>
<div class="btn-group">
    <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        商品管理 <span class="caret"></span>
    </button>
    <ul class="dropdown-menu">
        <li><a href="${pageContext.request.contextPath}/admin/product/addProduct.jsp" target="middle">添加商品</a></li>
        <%--<li><a href="${pageContext.request.contextPath}/adminFinlAllUser" target="middle">查询所有用户</a></li>--%>
        <li><a href="${pageContext.request.contextPath}/admin?methodName=adminFindAllProduct" target="middle">查询商品</a></li>

    </ul>
</div>
<%--<ul>
    <!-- <li style="list-style-type: none;"> -->
    <li>

        <!-- a标签target指定打开链接地址的方式
            需要结合框架标签中使用,必须指定frame打开
            target="frame框架标签的名称"
         -->

        <!-- <a style="text-decoration: none;color: deepskyblue;" href="表格数据.html" target="middle">用户管理</a> -->
        <a  href="${pageContext.request.contextPath}/adminFinlAllUser" target="middle">用户管理</a>
    </li>
    <li>
        <a  href="商品数据.html" target="middle">商品管理</a>
    </li>--%>
</ul>
</body>
</html>

